package com.ecar.core.common.dao;

import java.util.List;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.common.entity.Address;

public interface AddressMapper extends MybatisMapper{
    int deleteByPrimaryKey(String id);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);
    
    Address selectByUserIdAndUserTypeAndAddressType(Address record);

	List<Address> selectByUserIdAndUserType(Address record);
}